//
//  VideoViewViewController.m
//  FMRecordVideo
//
//  Created by 高波 on 2019/5/28.
//  Copyright © 2019 SF. All rights reserved.
//

#define kRGB(R,G,B) [UIColor colorWithRed:R/255.0 green:G/255.0 blue:B/255.0 alpha:1]

#import "VideoViewViewController.h"

@interface VideoViewViewController ()

@end

@implementation VideoViewViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    UIButton *sure = [UIButton buttonWithType:UIButtonTypeCustom];
    [sure setTitle:@"完成" forState:UIControlStateNormal];
    sure.titleLabel.font = [UIFont systemFontOfSize:14];
    sure.layer.cornerRadius = 5.0f;
    sure.clipsToBounds = YES;
    [sure setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
    [sure setBackgroundColor:kRGB(38, 178, 147)];
    sure.bounds = CGRectMake(0, 0, 50, 20);
    [sure addTarget:self action:@selector(sure) forControlEvents:UIControlEventTouchUpInside];
    UIBarButtonItem *right = [[UIBarButtonItem alloc] initWithCustomView:sure];
    self.navigationItem.rightBarButtonItem = right;
}

- (void)sure
{
    
}

@end
